Re:Sample passing FFmpeg and base stream of MPEG |
您所在的位置:网站首页 › ffmpeg -ss参数 › Re:Sample passing FFmpeg and base stream of MPEG |
Hi,
Thank you for posting in Intel Communities. We apologize to inform you that MPEG-4 is not supported by oneVPL at present. However, MPEG-2 is supported. We have provided the list of supported codecs for oneVPL. https://www.intel.com/content/www/us/en/docs/onevpl/upgrade-from-msdk/2021-3/supported-codecs.html
We have passed MPEG-2 video file to VPL decoder using sample_encode sample. Please find the steps below: 1. Converted a mp4 video to mpeg-2 video file ffmpeg -i input.mp4 -c:v mpeg2video output-mpeg2.mp4
2. sample_decode.exe, along with other executables(encode, vpp, etc.), is available in /bin/ folder in VPL installed directory. You could try the below command to pass MPEG-2 video file to VPL decoder. sample_decode.exe mpeg2 -i output-mpeg2.mp4 -o output.raw
3. A raw video file would be generated. Below command would be used to play that raw video. ffplay -v info -f rawvideo -pixel_format nv12 -video_size 1920x1080 output.raw
If this resolved your issue, make sure to accept it as a solution. This helps others with similar issue. Thanks in advance!
Regards, Alekhya
|
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |